#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <malloc.h>

namespace visualization
{
	#define  SQUARE_FLOW_FIELD_SZ	400
	#define	 DISCRETE_FILTER_SIZE	2048
	#define  LOWPASS_FILTR_LENGTH	10.00000f
	#define	 LINE_SQUARE_CLIP_MAX	100000.0f
	#define	 VECTOR_COMPONENT_MIN   0.050000f 
	
	
	void   SyntheszSaddle(int  n_xres,  int     n_yres,  float*   pVectr);
	void   InputDataFile(char *fileName,int  		n_xres,  int     n_yres, double*   pVectr);
	void	 NormalizVectrs(int  n_xres,  int     n_yres,  double*   pVectr);
	void   GenBoxFiltrLUT(int  LUTsiz,  double*  p_LUT0,  double*   p_LUT1);
	void   MakeWhiteNoise(int  n_xres,  int     n_yres,  unsigned char*  pNoise);
	void   FlowImagingLIC(int  n_xres,  int     n_yres,  double*   pVectr,   unsigned char*  pNoise,  
		  				 unsigned char*  pImage,  double*  p_LUT0,  double*  p_LUT1,  float  krnlen);
	void 	 WriteImage2PPM(int  n_xres,  int     n_yres,  unsigned char*  pImage,     char*  f_name);
}

